package com.zlt.entity;

import com.zlt.annotation.Column;
import com.zlt.annotation.Id;
import com.zlt.annotation.ManyToOne;
import com.zlt.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;


@AllArgsConstructor
@NoArgsConstructor
@Data
@ToString
@Table("interview")
public class Interview {
    @Id
    private Integer id;

    @Column
    private String name;

    @Column("initiator_id")
    private String initiatorId;

    @ManyToOne("uid")
    private User uid;

    @ManyToOne("cid")
    private Company cid;

    @Column("send_time")
    private String sendTime;

    @Column("valid_time")
    private String validTime;

    @Column
    private Integer state;

    @Column
    private String note;

    @Column("interview_time")
    private String interviewTime;

    @Column
    private String address;
}
